package com.laolang.shop.modules.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.laolang.shop.modules.product.entity.ProductCategory;
import com.laolang.shop.modules.product.pojo.category.admin.vo.ProductCategoryAdminTreeVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author khlbat
 * @version 1.0
 * @date 2020/11/3 0:57
 */
public interface ProductCategoryMapper extends BaseMapper<ProductCategory> {
    List<ProductCategoryAdminTreeVo> listByParentId(@Param("parentId") Long parentId);
}
